/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.home.model.table;

import com.home.mapping.Scorecard;
import java.util.Date;
import java.util.Vector;


/**
 *
 * @author vi
 */
public class ScorecardTableModel {

    private Scorecard scorecard;
    private String scorecardType;
    private Date evalutationDate;
    private Date transactionDate;
    private String evaluator;
    private Double score;
    

    public ScorecardTableModel() {
    }

    public Scorecard getScorecard() {
        return scorecard;
    }

    public void setScorecard(Scorecard idScorecard) {
        this.scorecard = idScorecard;
    }
  
    public Date getEvalutationDate() {
        return evalutationDate;
    }

    public void setEvalutationDate(Date evalutationDate) {
        this.evalutationDate = evalutationDate;
    }

    public Date getTransactionDate() {
        return transactionDate;
    }

    public void setTransactionDate(Date transactionDate) {
        this.transactionDate = transactionDate;
    }

    public String getScorecardType() {
        return scorecardType;
    }

    public void setScorecardType(String scorecardType) {
        this.scorecardType = scorecardType;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }   
   
    public String getEvaluator() {
        return evaluator;
    }

    public void setEvaluator(String evaluator) {
        this.evaluator = evaluator;
    }

    
    
    public Vector toVector() {
        Vector v = new Vector();
        v.add(scorecard);       
        v.add(scorecardType);
        v.add(evalutationDate);
        v.add(transactionDate);       
        v.add(evaluator);      
        v.add(score);
        return v;
    }
}
